<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>

function boom()
{
    document.documentElement.offsetHeight;
    document.body.style.textOrientation = "sideways";
}

</script>
</head>
<body onload="boom();" style="writing-mode: tb-rl; display: table;">Hello</body>
</html>
